package com.xx.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.xx.doman.Suppliers;

/**
 * @author HP
 * @description 针对表【suppliers(供应商表)】的数据库操作Mapper
 * @createDate 2024-12-05 15:29:52
 * @Entity com.xx.doman.Suppliers
 */
@Mapper
public interface SuppliersMapper {
    List<Suppliers> selectAllBySupplierNameAndContactPhone(@Param("supplierName") String supplierName,
                                                           @Param("contactPhone") String contactPhone);

    int insertAll(Suppliers suppliers);

    int updateById(Suppliers suppliers);

    int deleteById(@Param("supplierId") Integer supplierId);
}
